//
//  CBDWallpaperCell.m
//  CBDWallpapar
//
//  Created by duodian on 2018/5/11.
//  Copyright © 2019年 CBD工作室. All rights reserved.
//

#import "CBDWallpaperCell.h"
#import "CBDWallpaperModel.h"
@interface CBDWallpaperCell()
@property (weak, nonatomic) IBOutlet UIImageView *wallImageView;
@end

@implementation CBDWallpaperCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _wallImageView.layer.cornerRadius = 5;
    _wallImageView.clipsToBounds = YES;
}

- (void)setModel:(CBDWallpaperModel *)model {
    [_wallImageView setImageURL:[NSURL URLWithString:model.thumb]];
}
@end
